<?php 
header("Content-type:text/html;charset=utf-8");
define('DB_Host','localhost');
define('DB_USER','root');
define('DB_PWD','');
define('DB_CHARSET','UTF8');
define('DB_DBNAME','neu-video');
function connect(){
	$link=@mysql_connect(DB_HOST,DB_USER,DB_PWD) or die('数据库连接失败<br/>ERROR'.mysql_errno().':'.mysql_error());
	mysql_set_charset(DB_CHARSET);
	mysql_select_db(DB_DBNAME) or die('制定的数据库打开失败'.mysql_error());
	return $link;
}



 ?>